home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
comms
/
html-heaven
/
arexx
/
html-ed.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-01-08
|
760b
|
20 lines
/* HTML-Helper Arexx script for Ed
* Ver : 1.0 (7th January 1996)
* Copyright: Paul Kolenbrander (InterNet: paul@serena.iaehv.nl)
* Function : Pass on the HTML commands from HTML-Helper to Ed.
* Input : HTMLCMD - The HTML command to be inserted.
*/
OPTIONS RESULTS /* enable return codes */
PARSE ARG MYCMD HTMLCMD
HTMLCMD = SUBSTR(HTMLCMD,2, LENGTH(HTMLCMD)-1) /* strip leading space */
HTMLCMD = SUBSTR(HTMLCMD,2, LENGTH(HTMLCMD)-2) /* strip leading/trailing " */
ADDRESS 'Ed' /* Default, edit if needed */
'i/'||HTMLCMD||'/' /* Insert at current pos. */
EXIT /* And exit the script. */